//
//  THGlobalTool.h
//  TaiHao
//
//  Created by LeeSongtao on 16/6/1.
//  Copyright © 2016年 rzm. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SampuxGlobalTool : NSObject

/** 根据字符串内容和字体大小自动计算高度 */
+ (CGSize)getSizeWithString:(NSString *)string andFont:(UIFont *)font andMaxSize:(CGSize)size;
+ (NSMutableAttributedString *)addAttributeline:(NSString *)str;
+ (CGSize)getSizeWithAttString:(NSAttributedString *)attString andMaxSize:(CGSize)size;
+ (NSArray *)createArrWithMin:(NSInteger)min andMax:(NSInteger)max;
+ (NSString *)getApplicationVersionCode;

@end
